home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VCM / VCM.MDB / VcmComponentContainer / 11_Cabinet / SPINCTRL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-18  |  1.6 KB  |  67 lines

  1. // SpinCtrl.h : header file
  2. //
  3.  
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992-1998 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CSpinCtrlPage dialog
  16. #ifndef INC_SPINCTRL_H
  17. #define INC_SPINCTRL_H
  18.  
  19. class CSpinCtrlPage : public CPropertyPage
  20. {
  21.     DECLARE_DYNCREATE(CSpinCtrlPage)
  22.  
  23. // Construction
  24. public:
  25.     CSpinCtrlPage();
  26.     ~CSpinCtrlPage();
  27.  
  28. // Dialog Data
  29.     //{{AFX_DATA(CSpinCtrlPage)
  30.     enum { IDD = IDD_SPINCTRL };
  31.     int     m_iAlignment;
  32.     BOOL    m_bArrowkeys;
  33.     BOOL    m_bAutobuddy;
  34.     UINT    m_uiRangeFrom;
  35.     BOOL    m_bNothousands;
  36.     int     m_iOrientation;
  37.     BOOL    m_bSetbuddyint;
  38.     UINT    m_uiRangeTo;
  39.     BOOL    m_bWrap;
  40.     //}}AFX_DATA
  41.  
  42.     CSpinButtonCtrl m_Spin;
  43.     CRect           m_EditRect;
  44.  
  45. // Overrides
  46.     // ClassWizard generate virtual function overrides
  47.     //{{AFX_VIRTUAL(CSpinCtrlPage)
  48.     protected:
  49.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  50.     virtual BOOL OnInitDialog();
  51.     virtual BOOL OnApply();
  52.     //}}AFX_VIRTUAL
  53.  
  54. // Implementation
  55. protected:
  56.     void CreateSpinCtrl();
  57.  
  58.     // Generated message map functions
  59.     //{{AFX_MSG(CSpinCtrlPage)
  60.     afx_msg void OnAnyChange();
  61.     //}}AFX_MSG
  62.     DECLARE_MESSAGE_MAP()
  63.  
  64. };
  65.  
  66. #endif
  67.